package com.pmcc.cj.entity.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.pmcc.utils.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by tomas on 2020/10/13.
 */
public class OrderIndexVo {
    private String id;//一级id
    private BigDecimal money;//总金额
    private Integer payStatusFettle;
    private String payIndexId;//订单号
    private String wxpayOrderId;//支付ID
    private Date createTime;//定位时间
    private List<OrderVo> orderVos;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Integer getPayStatusFettle() {
        return payStatusFettle;
    }

    public void setPayStatusFettle(Integer payStatusFettle) {
        this.payStatusFettle = payStatusFettle;
    }

    public String getPayIndexId() {
        return payIndexId;
    }

    public void setPayIndexId(String payIndexId) {
        this.payIndexId = payIndexId;
    }

    public String getWxpayOrderId() {
        return wxpayOrderId;
    }

    public void setWxpayOrderId(String wxpayOrderId) {
        this.wxpayOrderId = wxpayOrderId;
    }
    @JsonSerialize(using = DateTimeFormat.class)
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<OrderVo> getOrderVos() {
        return orderVos;
    }

    public void setOrderVos(List<OrderVo> orderVos) {
        this.orderVos = orderVos;
    }
}
